package com.fowo.api.sys.model;

import com.fowo.api.sys.entity.SysDepartment;
import com.fowo.api.user.model.CurrentUser;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.List;

/**
 * @fileName: SysDeptUserVo
 * @Description: 代码目的，作用，如何工作
 * @Author: pzh
 * @Date: 2023/4/6 0006 14:12
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SysDeptUserVo extends SysDepartment {

    private List<CurrentUser> userVos;
    private List<SysDeptUserVo> children = new ArrayList<>();
}
